package com.un.ebs.production.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ProductionCostDiffExt)表实体类
 *
 * @author liubo
 * @since 2020-11-05 11:31:41
 */
@Data
@Component
@TableName("v_production_cost_diff_ext")
@SuppressWarnings("serial")
public class ProductionCostDiffExt extends Model<ProductionCostDiffExt> {


    @DbField(name = "id", length = 40, precision = 0)
    private String id;

    @DbField(name = "code", length = 50, precision = 0)
    private String code;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "sku_name", length = 100, precision = 0)
    private String skuName;

    @DbField(name = "class_name", length = 40, precision = 0)
    private String className;

    @DbField(name = "total_user_cost_money", length = 38, precision = 10)
    private Double totalUserCostMoney;

    @DbField(name = "real_unit_price", length = 38, precision = 6)
    private Double realUnitPrice;

    @DbField(name = "production_qty", length = 38, precision = 4)
    private Double productionQty;

    @DbField(name = "account_year", length = -1, precision = 0)
    private Integer accountYear;

    @DbField(name = "account_month", length = -1, precision = 0)
    private Integer accountMonth;

    @DbField(name = "account_month_desc", length = 7, precision = 0)
    private String accountMonthDesc;

    @DbField(name = "user_cost_money", length = 38, precision = 10)
    private Double userCostMoney;

    @DbField(name = "production_cost_money", length = 38, precision = 10)
    private Double productionCostMoney;

    @DbField(name = "diff_money", length = 38, precision = 10)
    private Double diffMoney;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;


}